<?php


class ValidateLoginInfo
{
	/**
	 * @param $username, string
	 * 
	 * @param $userPassword, string
	 * 
	 * @return boolean, true if correct loginInfo.
	 */
	public function LoginValidation($username, $userPassword)
	{
		if($username != "Admin" || $userPassword != "Password")
		{
			return false;
		}
		else
		{
			return true;
		}
	}
	
	/**
	 * @param  $username, string
	 * 
	 * @param $userPassword, string
	 * 
	 * @return boolean, true if correct loginInfo.
	 */
	public function CookieLoginValidation($username, $userPassword)
	{
		if($username != "Admin" || $userPassword != "dc647eb65e6711e155375218212b3964")
		{
			return false;
		}
		else
		{
			return true;
		}
	}
}
